home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / lib / tclX-6.4 / help / lists / lsearch < prev    next >
Encoding:
Text File  |  1992-12-17  |  363 b   |  7 lines

  1.           lsearch list pattern
  2.                Search  the  elements  of  list  to  see if one of them
  3.                matches pattern.  If so, the command returns the  index
  4.                of  the  first  matching  element.  If not, the command
  5.                returns -1.  Pattern matching is done in the  same  way
  6.                as for the string match command.
  7.